StackedSeriesWrapperBase

StockSharp.Xaml.Charting.Visuals.RenderableSeries

Implements: IStackedSeriesWrapperBase<T>

Methods

AccumulateYValueAtX
public Tuple<double, double> AccumulateYValueAtX(T series, int index, bool isResampledSeries)
result = stackedSeriesWrapperBase.AccumulateYValueAtX(series, index, isResampledSeries)

Accumulate Y value at for stacked series in PointSeries or in DataSeries according to Item1 - represents Top Accumulated value Item2 - represents Bottom Accumulated value

AddSeries
public void AddSeries(T series)
stackedSeriesWrapperBase.AddSeries(series)

Add IStackedRenderableSeries to wrappers internal collection

AddSeriesToGroup
private void AddSeriesToGroup(T series, string groupId)
stackedSeriesWrapperBase.AddSeriesToGroup(series, groupId)

Uses internally to add IStackedRenderableSeries to internal _seriesGroups dictionary

CalculateYRange
public DoubleRange CalculateYRange(T series, IndexRange xIndexRange)
result = stackedSeriesWrapperBase.CalculateYRange(series, xIndexRange)

Calculates YRange for passed in

GetStackedSeriesCount
public int GetStackedSeriesCount()
result = stackedSeriesWrapperBase.GetStackedSeriesCount()

Gets count if StackedSeriesCollection count

GetStackedSeriesFromSameGroup
public IList<T> GetStackedSeriesFromSameGroup(string groupId)
result = stackedSeriesWrapperBase.GetStackedSeriesFromSameGroup(groupId)

Returns all IStackedRenderableSeries with the same groupId

IsOneHundredPercentGroup
public bool IsOneHundredPercentGroup(string groupId)
result = stackedSeriesWrapperBase.IsOneHundredPercentGroup(groupId)

Gets a value whether all stacked series with the same StackedGroupId will appear 100% stacked

MoveSeriesToAnotherGroup
public void MoveSeriesToAnotherGroup(T rSeries, string oldGroupId, string newGroupId)
stackedSeriesWrapperBase.MoveSeriesToAnotherGroup(rSeries, oldGroupId, newGroupId)

Used internally to move a stacked series to a new group

RemoveSeries
public void RemoveSeries(T series)
stackedSeriesWrapperBase.RemoveSeries(series)

Remove IStackedRenderableSeries from wrappers internal collection

RemoveSeriesFromGroup
private void RemoveSeriesFromGroup(T series, string groupId)
stackedSeriesWrapperBase.RemoveSeriesFromGroup(series, groupId)

Uses internally to remove IStackedRenderableSeries from internal _seriesGroups dictionary

ShiftHitTestInfo
public virtual HitTestInfo ShiftHitTestInfo(Point rawPoint, HitTestInfo nearestHitResult, double hitTestRadius, T series)
result = stackedSeriesWrapperBase.ShiftHitTestInfo(rawPoint, nearestHitResult, hitTestRadius, series)

Returns shifted HitTestInfo for horizontally / vertically stacked StackedColumnRenderableSeries